html{
    font-family: "Helvetica Neue","Hiragino Sans GB",
    "Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;
}
.cart{
    width: 1020px;
    margin: 0 auto;
    padding-bottom: 50px;
    .icon-number{
        width: 20px;
        height: 20px;
        display: inline-block;
        text-align: center;
        line-height: 20px;
        border-radius:50%;
        margin: 0 10px 0 52px;
        font-family: arial;
        font-weight: 700;
        background-color: #e5e5e5;
        color: #fff;
    }
    .cart-step{
        border:1px solid #e5e5e5;
        height: 38px;
        width: 615px;
        float: right;
        margin-top: 10px;
        li{
            color:#cacaca;
            height:40px;
            font-size: 14px;
            line-height: 40px;
            float: left;
            width: 205px;
            position: relative;
            .icon-to{
                position:absolute;
                left: auto;
                right: 0;
                top: 10px;
                background: url(../images/ico_arrow.png) -64px -85px no-repeat;
                vertical-align: middle;
                display: inline-block;
                width: 7px;
                height: 21px;
            }
            .triangle{
                border-width:20px 11px;
                border-style:solid;
                position:absolute;
                right: -22px;
                width: 0;
                height: 0;
                line-height: 0;
                top: 0;
                display: none;
            }
        }
        li.step-1.current{
         left: -1px;
         top: -1px;   
        }
        li.current{
            color:#fff;
            background-color:#F25E5A;
            z-index:1;
            .triangle{
                display: block;
                border-color:transparent transparent transparent #F25E5A;
            }
            .icon-number{
                background-color: #fff;
                color: #f25e5a;
            }
        }
        .clear{
           &:after{
                content: '';
                clear: both;
                height: 0;
                visibility: hidden;
                display: block;
                overflow: hidden;
            } 
        }
        
    }
    //订单列表头
    .cart-table{
        padding-top: 80px;
        li{
            float: left;
        }
        .data-empty{
            width: auto;
            height: 160px;
            margin: 0 auto 50px;
            td{
                padding-top: 100px;
                strong{
                    display: block;
                    width: 80px;
                    height: 71px;
                    background: url(../images/ico-cart-empty.png) no-repeat;
                    float:left;
                    margin-right: 30px;
                    font-weight: 700;
                }
                span{
                    a{
                        font-size: 12px;
                        color:#384f61;
                        float: left;
                        margin-top: 10px;
                    }
                }
            }
            span{
                display: block;
                padding-top: 16px;
                height: 100px;
                float: left;
                font-size: 14px;
                
            }
        }
    }
    .cart-thead{
        border: 1px solid #ccc;
        height: 38px;
        line-height: 38px;
        li.th{
            text-align: center;
        }
        li.th-check{
            width: 100px;
            text-align: left;
            input{
                margin-left: 18px;
                margin-right: 16px;
            }
        }
        li.th-name{
            width: 440px;
        }
        li.th-price{
            width:120px;
        }
        li.th-number{
            width: 116px;
        }
        li.th-total{
            width: 128px;
        }
        li.th-handle{
            overflow: hidden;
            float: none;
        }
    }
    .total-box{
        height: 58px;
        border: 1px solid  #ccc;
        width: 1018px;
        margin: 0 auto;
        background-color: #f2f2f2;
        .sel-all{
            width: 100px;
            float:left;
            padding-top:22px;
            input{
                vertical-align: middle;
                margin: -2px 16px 0 18px;
            }
        }
        .option{
            padding-top: 22px;
            float: left;
            a{
                margin-right: 40px;
            }
        }
        .toolbar{
            float: right;
            width: 590px;
            .btn-count{
                float: right;
                width: 120px;
                background-color: #F25E5A;
                text-align: center;
                line-height: 60px;
                margin-top: -1px;
                margin-right: -1px;
                font-size: 18px;
                color: #fff;
            }
            .total-count{
                float: right;
                padding-right: 18px;
                padding-top: 10px;
                line-height: 20px;
                .item{
                    float: left;
                    width: 140px;
                    text-align: right;
                }
                .sumprice{
                    display: inline-block;
                }
            }
            .amount{
                float: right;
                padding-right: 32px;
                padding-top: 12px;
            }
        }
    }
    //购物车有东西时
    .cart-list{
        margin-top: 20px;
        border:1px solid #e5e5e5;
        padding-bottom: 20px;
        .thead{
            border-bottom:solid 1px #E5E5E5;
            height:40px;
            line-height: 40px;
            padding-left: 18px;
            .ico-active{
                margin: 0 12px 0 20px;
            }
        }
        .td-number{
            width: 98px;
            padding-left: 10px;
            padding-right: 10px;
            .btn-number{
                width: 28px;
                height: 28px;
                text-align: center;
                line-height: 28px;
                border: 1px solid #e5e5e5;
                display: block;
                margin-right: 0;
            }
            .number-in{
                width: 36px;
                height: 28px;
                text-align: center;
                line-height: 28px;
                padding: 0;
                float: left;
                border:1px solid #E5E5E5;
            }
            .btn-add{
                border-right:solid 1px #e5e5e5;
                border-left:none 0;
            }
        }
        .td-price{
            width: 120px;
            text-align:center;
            .price{
                font-size: 16px;
            }
        }
        .td-good{
            width: 486px;
            position: relative;
            a{
                float:left;
            }
            .img{
                width: 78px;
                height: 78px;
                float: left;
                border:1px solid #e5e5e5;
                margin-right: 20px;
                background-position: center center;
                background-size:cover;
            }
            a.name{
                &:hover{
                    text-decoration: underline;
                }
            }
            .name{
                line-height: 20px;
                overflow: hidden;
                float:none;
            }
        }
        .td-total{
            color: #E14958;
            text-align: center;
            width: 128px;
            .total{
                font-size: 16px;
            }
        }
        .td-handle{
            text-align: center;
            overflow: hidden;
            float:none;
            line-height: 20px;
            a{
                display: inline-block;
            }
        }
        .td-check{
            width: 52px;
            text-align: center;
        }
        .td{
            padding-top: 20px;
        }
    }
}
.check{
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin-right: 3px;
    marign-top: -3px;
}
table{
    border-collapse:collapse;
    border-spacing: 0;
}
.rede1{
    color: #E14958;
}
.f20{
    font-size:20px;
}
.ico-active{
    padding: 0 4px;
    line-height: 16px;
    background-color: #c24259;
    color: #fff;
    position: relative;
    display: inline-block;
    .ico-d-4{
        border-width:4px 3px;
        border-style:solid;
        border-color:#c24259 transparent transparent;
        display: inline-block;
        height: 0;
        line-height: 0;
        width: 0;
        position: absolute;
        bottom: -8px;
        left: 12px;
    }
}
.cover-img{
    background-position: center center;
    background-size: cover;
}
.f1{
    float:left;
}
.ico-reduce{
    background:url(../images/ico_symbol.png) -3px -22px no-repeat;
    display: inline-block;
    vertical-align: middle;
    width: 12px;
    height: 2px;
}
.ico-add{
    background:url(../images/ico_symbol.png) -24px -17px no-repeat;
    width: 12px;
    height: 12px;
}
.ico-add,.ico-clock{
    vertical-align: middle;
    display: inline-block;
    margin-top:-2px;
}
.clear{
   &:after{
        content: '';
        clear: both;
        height: 0;
        visibility: hidden;
        display: block;
        overflow: hidden;
    } 
}
.f14{
    font-size:14px;
}
.bold{
    font-weight: 700px;
}
//填写订单详情
.current .ico-small-right{
    display: block;
}
.ico-small-right{
    background:url(../images/ico-right.png) -66px -19px no-repeat;
    display: block;
    width: 21px;
    height: 21px;
    position:absolute;
    right: 1px;
    border: 1px; 
}
.da-checkout{
    width: 1020px;
    margin: 0 auto;
    padding-bottom: 50px;
    .checkout-pay{
        margin-top: 15px;
        input{
            float:left;
            width: 14px;
            height: 14px;
            margin:2px 10px 0 2px;
        }
        .tip{
            padding:16px 0 15px;
        }
        .checkout-pay-box{
            padding:10px 0 0 30px;
        }
        .pay-way-1{
            padding-bottom: 22px;
        }
        .each{
            float:left;
            margin-right: 40px;
            p{
                border:1px solid #fff;
            }
        }
        .pic-payway.current{
            border:1px solid #F25E5A;
            p{
                
                padding:10px 10px 0 10px;
                border:1px solid #F25E5A;
            }
        }
        .pic-payway{
            border:1px solid #d9d9d9;
            margin: 0 auto;
            position: relative;
            font-size:14px;
            text-align: center;
            cursor:pointer;
            display: block;
            input{
                position: absolute;
                top: 0;
                left: 0;
                visibility: hidden;
            }
        }
        
        
    }
    
    
    .checkout-title{
        font-size: 16px;
        line-height: 36px;
        padding-left: 20px;
        padding-top: 40px;
        font-weight: 700;
    }
    .checkout-main{
        padding: 20px 19px;
        border: 1px solid #e5e5e5;
    }
    .checkout-order{
        paddding-top: 10px;
        padding-bottom: 38px;
        border-bottom: solid 1px #e5e5e5;
        .title{
            font-size: 14px;
            line-height: 34px;
            padding-bottom: 7px;
            font-weight: 700;
        }
        .order-table{
            border:1px solid #e5e5e5;
            margin-left: 30px;
            width: 920px;
        }
        .thead{
            background-color:#f7f7f7;
            height: 39px;
            line-height: 39px;
        }
        .item{
            width: 512px;
            font-size: 14px;
            p{
                padding-left: 50px;
            }
            a{
                float:left;
                margin-bottom:20px;
            }
            .img{
                width: 78px;
                height: 78px;
                float:left;
                border:1px solid #e5e5e5;
                margin-right: 20px;
                margin-left: 34px;
                background-position: center center;
                background-size: cover;
            }
        }
        .tr{
            .item{
                p{
                    font-size: 12px;
                    line-height: 20px;
                    overflow: hidden;
                }
            }
        }
         .td{
             float:left;
             padding-top: 20px;
         }  
        .price{
            width: 116px;
            text-align: center;
            font-size: 14px;
        }
        .th{
            float:left;
        }
        .number{
            width: 130px;
            text-align: center;
            font-size: 14px;
        }
        .total{
            overflow: hidden;
            float:none;
            font-size:14px;
            p{
                text-align: right;
                padding-right: 26px;
            }
        }
        
    }
    .checkout-buyer{
        padding-bottom: 10px;
        border-bottom: solid 1px #e5e5e5;
        .title{
            font-size: 14px;
            line-height: 34px;
            font-weight: 700;
            padding-bottom: 10px;
        }
        .buyer-option{
            height: 30px;
            line-height: 30px;
            width: 239px;
            float: right;
            position: relative;
            .toggle-address{
                padding-left: 22px;
            }
            a{
                display: inline-block;
                p{
                    position: relative;
                    padding-right: 10px;
                    margin-right: 10px;
                }
            }
            .add-address{
                height: 28px;
                border: 1px solid #ccc;
                display: inline-block;
                position: absolute;
                right: 0;
                padding-left: 10px;
                padding-right: 12px;
                .ico-add{
                    background:url(../images/ico_symbol.png) -25px -35px no-repeat;
                    vertical-align: middle;
                    display: inline-block;
                    width: 10px;
                    height: 10px;
                    margin-right: 4px;
                }
            }
        }
        .buyer-info{
            margin-left: 20px;
            height: auto;
            overflow: hidden;
            li.current{
                border: 3px solid #F25E5A;
                padding: 18px 18px 13px;
                .ico-red-right{
                    background:url(../images/ico-right.png) no-repeat;
                    width: 40px;
                    height: 40px;
                    display: inline-block;
                    position: absolute;
                    right: 0;
                    bottom: 0;
                    z-index: 2;
                }
                .function{
                    display: block;
                    position: absolute;
                    right: 10px;
                    top: 10px;
                    a{
                        display: inline-block;
                        color:#14958;
                        margin-left: 24px;
                    }
                }
            }
            li{
                float:left;
                width: 188px;
                height: 93px;
                padding: 20px 20px 15px;
                border:1px solid #e5e5e5;
                position: relative;
                margin:0 0 20px 10px;
                cursor: pointer;
                .name{
                    font-size: 14px;
                    padding-bottom: 6px;
                }
                .address{
                    line-height: 18px;
                    width: 186px;
                    height: 18px;
                    overflow:hidden;
                    white-space:nowrap;
                    text-overflow: ellipsis;
                }
                .tel{
                    padding-top: 6px;
                }
                .function{
                    display: none;
                    
                }
            }
        }
    }
}
.dtitle{
    &:hover{
        text-decoration: underline;
    }
}
.add-inf{
    padding:0 20px;
    height:200px;
    border:1px solid #F2F2F2;
   .inf-left{
       float:left;
       height:160px;
       width:600px;
       padding-top:40px;
       border-right:1px solid #f2f2f2;
       p{
           display: inline-block;  
           font-size:16px;
           line-height:30px;    
        }
        .shouhuoxinxi{
            line-height:30px;
        }
   }
   .inf-right{
       float:right;
       width:280px;
       height:180px;
       padding-top:20px;
       font-size:16px;
       margin-right:40px;
       span{
           float:right;
           
       }
       span.font-red{
           color:rgb(242,94,90);
       }
       li{
           margin-top:14px;
       }
   }
}
.all-cash{
    height:50px;
    span{
        height:50px;
        line-height:50px;
        display: block;
        font-size: 16px;
        float:left;
        margin-top:10px;
        margin-left:650px;
    }
    button{
        margin-top:10px;
        height:50px;
        width:100px;
        line-height:50px;
        display: block;
        font-size:16px;
        float:left;
        background: red;
        color:#fff;
        outline: none;
        border:none;
        margin-left:30px;
        background-color: rgb(242,94,90);
    }
}
